package com.exahq.mapper;

import com.exahq.entity.Partnerinfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lhq
 * @since 2021-02-06
 */
@Repository
@Mapper
public interface PartnerinfoMapper extends BaseMapper<Partnerinfo> {

    List<Partnerinfo> selList(Map<Object, Object> query);
    int getCount(Map<Object, Object> query);

    List<Partnerinfo> byPidData(Integer id);
    List<Partnerinfo> byCidData(Integer cid);
}
